package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 可信设备对象 trusteddevice
 * 
 * @author ess
 * @date 2021-10-18
 */
public class Trusteddevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员ID */
    @Excel(name = "人员ID")
    private String personid;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceid;

    /** 设备类型,可用值PC、MOBILE */
    @Excel(name = "设备类型,可用值PC、MOBILE")
    private String devicetype;

    /** 设备信息-ip mac androidId等 */
    @Excel(name = "设备信息-ip mac androidId等")
    private String devicemsg;

    /** 设备等级 1主设备 2常用设备 */
    @Excel(name = "设备等级 1主设备 2常用设备")
    private Long devicelevel;

    /** 最后登陆时间 */
    @Excel(name = "最后登陆时间")
    private String logintime;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 主键ID */
    private String tdid;

    /** 单位ID */
    @Excel(name = "单位ID")
    private String unitid;

    /** 主设备签章时是否需要输入密码 1输入 0不输入 */
    @Excel(name = "主设备签章时是否需要输入密码 1输入 0不输入")
    private Long isinputpsw;

    public void setPersonid(String personid) 
    {
        this.personid = personid;
    }

    public String getPersonid() 
    {
        return personid;
    }
    public void setDeviceid(String deviceid) 
    {
        this.deviceid = deviceid;
    }

    public String getDeviceid() 
    {
        return deviceid;
    }
    public void setDevicetype(String devicetype) 
    {
        this.devicetype = devicetype;
    }

    public String getDevicetype() 
    {
        return devicetype;
    }
    public void setDevicemsg(String devicemsg) 
    {
        this.devicemsg = devicemsg;
    }

    public String getDevicemsg() 
    {
        return devicemsg;
    }
    public void setDevicelevel(Long devicelevel) 
    {
        this.devicelevel = devicelevel;
    }

    public Long getDevicelevel() 
    {
        return devicelevel;
    }
    public void setLogintime(String logintime) 
    {
        this.logintime = logintime;
    }

    public String getLogintime() 
    {
        return logintime;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setTdid(String tdid) 
    {
        this.tdid = tdid;
    }

    public String getTdid() 
    {
        return tdid;
    }
    public void setUnitid(String unitid) 
    {
        this.unitid = unitid;
    }

    public String getUnitid() 
    {
        return unitid;
    }
    public void setIsinputpsw(Long isinputpsw) 
    {
        this.isinputpsw = isinputpsw;
    }

    public Long getIsinputpsw() 
    {
        return isinputpsw;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personid", getPersonid())
            .append("deviceid", getDeviceid())
            .append("devicetype", getDevicetype())
            .append("devicemsg", getDevicemsg())
            .append("devicelevel", getDevicelevel())
            .append("logintime", getLogintime())
            .append("state", getState())
            .append("tdid", getTdid())
            .append("unitid", getUnitid())
            .append("isinputpsw", getIsinputpsw())
            .toString();
    }
}
